home *** CD-ROM | disk | FTP | other *** search
/ Nebula 1 / Nebula One.iso / Internet / News / Alexandra.0.82 / Source / AlexandraApp.m < prev    next >
Encoding:
Text File  |  1996-01-30  |  1.1 KB  |  62 lines

  1.  
  2. #import "AlexandraApp.h"
  3. #import "AMGErrorHandling.subproj/AMGErrorHandling.h"
  4. #import <misckit/misckit.h>
  5. #import "emccodes.h"
  6.  
  7. //-----------------------------------------------------------
  8. // Category of MiscInfoController 
  9. //-----------------------------------------------------------
  10.  
  11. @interface MiscInfoController(GetStringTable)
  12.  
  13. - strings;
  14.  
  15. @end
  16.  
  17. @implementation MiscInfoController(GetStringTable)
  18.  
  19. - strings;
  20.     {
  21.     return strings;
  22.     }
  23.     
  24. @end
  25.  
  26.  
  27. @implementation AlexandraApp
  28.  
  29. //-----------------------------------------------------------
  30. // initialise
  31. //-----------------------------------------------------------
  32.  
  33. + new
  34.     {
  35.     AlexandraApp *new;
  36.     
  37.     new=[super new];
  38.     [EMErrorManager new];
  39.  
  40.     return new;
  41.     }
  42.  
  43.  
  44. //-----------------------------------------------------------
  45. // global attributes
  46. //-----------------------------------------------------------
  47.  
  48. - (const char *)appVersion;
  49.     {
  50.     return [[(MiscInfoController *)infoController strings] valueForKey:"Version"];
  51.     }
  52.     
  53.     
  54. //-----------------------------------------------------------
  55. // THAT'S IT
  56. //-----------------------------------------------------------
  57.  
  58. @end
  59.  
  60.     
  61.  
  62.